.takeOutGoodsSpecSelect {
  @import "~taro-ui/dist/style/components/float-layout.scss";

  .layout-body,
  .at-float-layout__container,
  .layout-body__content {
    padding: 0 !important;
    min-height: 504px !important;
    max-height: 980px !important;
    height: unset;
  }

  .at-float-layout__container.layout {
    border-radius: 24px 24px 0 0;
  }

  .layout-body__content {
    position: relative;
  }

  .inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 24px 24px 0 0;

    .close-icon {
      width: 24px;
      height: 24px;
      position: absolute;
      right: 24px;
      top: 24px;
    }

    .sku-account {
      max-height: 800px;
      overflow-y: auto;
      margin-bottom: 100px;
      &.mgh {
        margin-bottom: 168px;
      }
    }

    .goods-info {
      .goods {
        height: 212px;
        width: 100%;
        box-sizing: border-box;
        padding: 32px;
        display: flex;
        align-items: center;

        .goodsSmallImg {
          width: 150px;
          height: 150px;

          border-radius: 10px;

          img,
          image {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .detail {
          flex: 1;
          display: flex;
          flex-direction: column;
          margin-left: 24px;
        }
        .curOp {
          width: 500px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          &.mt8 {
            margin-top: 8px;
          }
        }
        .title {
          height: 40px;
          line-height: 40px;
        }
        .activityInfo {
          display: flex;
          justify-content: center;
          align-items: center;
          height: 32px;
          border: 1px solid;
          border-radius: 2px;
          box-sizing: border-box;
          padding: 0 8px;
          font-size: 20px;
          font-weight: 400;
          line-height: 32px;
          margin-left: 12px;
          .discount {
            margin-left: 6px;
            margin-right: 6px;
            letter-spacing: -2px;
          }
          .diliver {
            margin-right: 6px;
            width: 1px;
            height: 10px;
          }
          .activityLimit {
            letter-spacing: -2px;
          }
        }
        .priceLine {
          display: flex;
          align-items: center;
          height: 56px;
          margin-top: 12px;
          .price {
            display: flex;
            align-items: baseline;
            font-weight: bold;
            .unit {
              font-size: 24px;
              margin-right: 4px;
            }
            .zNum {
              font-size: 40px;
              letter-spacing: -1px;
            }
            .zUnit {
              font-size: 22px;
              letter-spacing: -1px;
            }
            .zMore {
              font-size: 22px;
              font-weight: 400;
              margin-left: 6px;
              &.hidden {
                display: none;
              }
            }
            .cost {
              font-size: 22px;
              font-weight: 400;
              color: #999999;
              text-decoration: line-through;
              margin-left: 6px;
            }
          }
          .activity {
            height: 40px;
            border-radius: 15px 3px 15px 3px;
            box-sizing: border-box;
            padding: 0 15px;
            font-size: 28px;
            font-weight: 400;
            color: #ffffff;
            line-height: 40px;
            margin-left: 18px;
            &.zhekou {
              background: linear-gradient(137deg, #e3c686 0%, #d0a762 100%);
            }
          }
        }
        .name {
          height: 45px;
          font-size: 32px;
          font-weight: bold;
          color: rgba(0, 0, 0, 0.85);
          line-height: 45px;
        }
        .activity {
          font-size: 26px;
          font-weight: 400;
          color: #fa6400;
          line-height: 37px;
          .discount {
            margin-right: 10px;
          }
        }
      }
    }
    .line {
      width: 100%;
      height: 1px;
      border-bottom: 1.05px solid #f0f0f0;
    }
    .line-last {
      margin-top: 10px;
    }

    .skuSettings {
      box-sizing: border-box;
      padding: 32px;
    }

    .label-spec {
      height: 40px;
      font-size: 28px;
      color: #333333;
      line-height: 40px;
    }

    .spec-group {
      display: flex;
      flex-wrap: wrap;

      margin-bottom: 32px;
      margin-right: -24px;

      .spec-item {
        flex-shrink: 0;
        min-width: 96px;
        height: 68px;
        border-radius: 4px;
        background: #f0f0f0;
        border: 2px solid #f0f0f0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 24px;
        margin-top: 24px;
        position: relative;
        box-sizing: border-box;
        padding: 0 24px;
        &.unSelectable {
          background: #FAFAFA;
          border-color: #FAFAFA;
        }
        .text {
          font-size: 24px;
          font-weight: 400;
          color: #333333;
          &.unSelectable {
            color: #cccccc;
          }
        }
      }
    }

    .account {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100px;
      box-sizing: border-box;
      padding: 0 32px;

      .left-text {
        height: 40px;
        font-size: 28px;
        color: #333333;
        line-height: 40px;
      }

      .number-sel {
        height: 60px;
        border: 1.04px solid #f0f0f0;
        border-radius: 8px;

        display: flex;
        justify-content: center;
        align-items: center;

        .num {
          min-width: 72px;
          height: 60px;
          box-sizing: border-box;
          padding: 0 28px;

          display: flex;
          justify-content: center;
          align-items: center;
          
          .value {
            font-size: 28px;
            color: #333333;
          }
        }

        .opBox {
          width: 60px;
          height: 60px;
          background: #f5f5f5;
        }
        .sub,
        .add {
          width: 24px;
          height: 24px;
        }
      }
    }

    .btn-group {
      position: absolute;
      bottom: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      &.disable {
        background: #FFFFFF;
        opacity: 0.6;
        pointer-events: none;
      }

      .left-btn {
        display: none;
        width: 350px;
        height: 86px;
        border-radius: 46px 0px 0px 46px;
        border: 2px solid #6D86C4;

        .text {
          color: #6D86C4;
        }
      }

      .right-btn {
        display: none;
        width: 350px;
        height: 90px;
        background: #6D86C4;
        border-radius: 0px 46px 46px 0px;

        .text {
          color: #ffffff;
        }
      }

      .long-btn {
        display: none;
        width: 700px;
        height: 90px;
        background: #6D86C4;
        border-radius: 46px;
        .text {
          color: #ffffff;
        }
      }

      .long-btn,
      .left-btn,
      .right-btn {
        .text {
          height: 40px;
          font-size: 28px;
          font-weight: bold;
        }
        &.show {
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }

    }

    .bottom {
      width: 100%;
      background: #ffffff;
      border-top: 1.05px solid #f0f0f0;
      position: absolute;
      bottom: 0;
      z-index: 20;
    }
    .bottomHt {
      width: 100%;
      height: 68px;
      flex-shrink: 0;
    }
    .bottomCtx {
      width: 100%;
      height: 100px;
      flex-shrink: 0;
      box-sizing: border-box;
      padding: 0 48px;
  
      .bottomOps {
        width: 100%;
        height: 76px;
        border-radius: 38px;
        font-size: 32px;
        color: #ffffff;
        &.disable {
          opacity: 0.6;
          pointer-events: none;
        }
      }
    }

  }
}
